SftTree/NET 2.0

Offset Property, SplitterClass Class

Softel vdm, Inc.

Defines the horizontal offset of the splitter bar.

Syntax      SplitterClass Class (Softelvdm.SftTreeNET)

VB   

Public Property Offset As Integer

C#   

public int Offset { get; set; }

C++   

public: property int Offset {
        int get();
        void set(int value);
}

Property Value

The horizontal offset of the splitter bar. If the offset specified falls outside of the client area, the splitter bar is aligned with the left or right edge, whichever is closer to the offset specified.

The default value is 100.

Comments

The Offset property defines the horizontal offset of the splitter bar.

The Splitter.Visible property is used to define a splitter bar.

Splitter.MakeOptimal can be used to position the splitter bar optimally, so the left pane can display as much data as possible without a horizontal scroll bar (based on the left pane's HorizontalExtent property).

The coordinates of the splitter bar can be retrieved using the Splitter.Area property. The Splitter.Width property is used to change the width of the splitter bar.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com